<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            border: 1px solid red;
            width: 100px;
            height:100px;
        }
        span{
            border: 1px solid blue;
            /*行内元素不能修改宽高*/
            width:100px;
            height:100px;
            /*如果需要修改行内元素的宽高 则必须修改display的值为block 或者inline-block*/
            /*inline-block 行内修改块,公占一行*/
            /*block 块 独占一行*/
            display: inline-block;
        }
        img{
            width:100px;
            height:100px;
            /*图片隐藏*/
           /* display:none;*/
        }
        a{
            background-color: #0aa1ed;
            width: 132px;
            height: 40px;
            /*超链接是行内元素,想要修改宽高*/
            /*必须修改显示方式为block或inline-block*/
            /*如果是inline-block,则该超链接不能不占一行*/
            display: block;
            text-align: center;
            line-height: 40px;
            text-decoration: none;
            color: white;
            font-size: 20px;
            border-radius: 3px;/*设置圆角,值越大越圆*/
        }
    </style>
</head>
<body>
<a href="">查看详情</a>
<!--<a href="">查看详情</a>-->
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
<img src="../b.jpg">
<img src="../b.jpg">
<img src="../b.jpg">
<b>nihao</b><!--加粗-->
<i>nihao</i><!--斜体-->
<s>nihao</s><!--删除线-->
<u>nihao</u><!--下划线-->
</body>
</html>